home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 25
/
Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS0398.lzh
/
AMOSLIST
/
000126_amos-request@svcs1.digex.net_Thu Mar 12 20:57:27 1998.msg
< prev
next >
Wrap
Text File
|
1998-04-01
|
4KB
|
105 lines
>From amos-request@svcs1.digex.net Thu Mar 12 20:57:27 1998
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id UAA00421
for <mcox@access.digex.net>; Thu, 12 Mar 1998 20:57:27 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id OAA01608
for amos-out; Thu, 12 Mar 1998 14:52:06 -0500 (EST)
Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id OAA01601
for <amos-list@svcs1.digex.net>; Thu, 12 Mar 1998 14:52:05 -0500 (EST)
Received: from mago.agonet.it (mago.agonet.it [195.32.124.10])
by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id OAA13735
for <amos-list@access.digex.net>; Thu, 12 Mar 1998 14:52:00 -0500 (EST)
Received: from agonet.it (ghizzo@p126071.agonet.it [195.32.126.71])
by mago.agonet.it (8.8.5/8.8.5) with SMTP id UAA10080;
Thu, 12 Mar 1998 20:49:10 +0100
From: Pietro Ghizzoni <ghizzo@agonet.it>
Reply-To: Pietro Ghizzoni <ghizzo@agonet.it>
To: Amos-List <amos-list@access.digex.net>, Jonas Thorell <jonasth@bahnhof.se>
Date: Thu, 12 Mar 1998 20:48:54 +0100
Message-ID: <yam7375.2717.1746953304@mail.agonet.it>
In-Reply-To: <1750.373T1167T7273732@bahnhof.se>
X-Mailer: YAM 1.3.5 - Amiga Mailer by Marcel Beck
Organization: Dairymen Soft
Subject: Re: FD-extension
MIME-Version: 1.0
Content-Type: text/plain
Status: O
X-Status:
On 10-Mar-98, Jonas Thorell wrote: FD-extension
>Okay, now for a (perhaps) really silly question:
>Can anyone assist me in how to use the combo of the fd-extension and
>identify.library?
No problem....
>The systemcall is:
>identify.library/IdHardware
identify.library/IdHardware
> NAME
> IdHardware - get information about the system, string (V3)
> SYNOPSIS
> String = IdHardware(Type,TagList)
> D0.l D0.l A0.l
> STRPTR IdHardware(ULONG, struct TagItem *);
> String = IdHardwareTags(Type,Tag1,...)
> STRPTR IdHardwareTags(ULONG, ULONG,...);
> FUNCTION
> Gets information about the current system environment. The result
> is returned as read only string. This function is fully DraCo
> compatible!
> Once a information has been read, it will be cached internally, so
> changes will be ignored. Use IdHardwareUpdate() to clear the cache
> contents.
> INPUTS
> Type -- (ULONG) Information type. These types are known:
> IDHW_SYSTEM -- What system is used?
> (e. g. "Amiga 4000")
Since this function return a pointer to a string, in Amos is:
A=Lvo Idhardware(0,0) : AMIGA$=Peek$(A,255,chr$(0))
IDHW_SYSTEM=0
TagList = NULL (0)
if you want the CPU type:
A=Lvo Idhardware(1,0) : CPU$=Peek$(A,255,chr$(0))
IDHW_CPU=1
TagList = NULL (0)
--
Bye!
!!!
o o
+-----------------------------oOO-(_)-OOo----------------------------+
| |
| Pietro Ghizzoni - Dairymen Soft __ /// Amiga 12OO |
| E-Mail: ghizzo@agonet.it \\\/// 'O3O 5OMhz |
| Team AMIGA \/// 18MB - CD4x |
| |
| Amos Professional Team Coordinator AMIGA RULEZ!! |
| |
+--------------------------------------------------------------------+